<extend name="common/base" />

<block name="resource">
    <link href="__ASSET__/Home/v4/src/css/explore.css" rel="stylesheet">
    <!--[if lt IE 9]>
    <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</block>

<block name="content">
<div class="match-new-bg paddingtb20 match-desc-video paddingb120">
    <div class="container paddingtb20">
    <!--热门比赛-->
    <div class="match-main-left white-bg left">
        <div class="main-right-box">
            <h1 class="font12 colorthree">
                <p class="h1-left left">
                    当前位置：
                    <a href="/match" class="colorthree">赛事</a>
                     &gt; 
                    <notempty name="news.match">
                        <a href="/match-news-{$news.match.id}" class="colorthree">{$news.match.subtitle} 赛事要闻</a>
                    <else />
                        <a href="/match-news" class="colorthree">赛事要闻</a>
                    </notempty>
                     &gt; 
                     新闻详情
                </p>
            </h1>
            <!--详情-->
            <div class="match-smellcon">
                <h1 class="font24 colorthree">{$news.title}</h1>
                <time class="font14 colorsix"><em>发布人：{$news.author}</em><em>发表于：{$news.create_time|date="Y-m-d",###}</em><em>浏览量：{$news.read}</em></time>
                <div class="match-smellcondes paddingtb20">
                    <volist name="news.content" id="content">
                        <switch name="content.type">
                            <case value="text">
                                <if condition="$content['data']['bold'] == 1">
                                    <div class="match-smellcondes-div colorthree font14 bold">
                                <else />
                                    <div class="match-smellcondes-div colorthree font14">
                                </if>
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$content.data.content}
                                </div>
                            </case>
                            <case value="image">
                                <div class="match_imgpos match-smellcondes-div">
                                    <img src="{$content.data.url}" />
                                </div>
                            </case>
                            <case value="video">
                                <div class="match-smellcondes-div match-smellcondes-flash">
                                    <iframe src="{:U('home/VideoPlay/play', ['id' => $content['data']['id']])}" scrolling="no" frameborder="0"></iframe>
                                </div>
                            </case>
                        </switch>
                    </volist>
                </div>
            </div>
        </div>
    </div>
    <!--其他比赛推荐-->
    <div class="match-main-right white-bg right">
        <h1 class="font12 colorthree">
            <span class="left">其他比赛推荐</span>
        </h1>
        <notempty name="race_list">
            <ul class="other-event-rec">
                <volist name="race_list" id="race">
                    <include file="MatchV4/race_template" />
                </volist>
            </ul>
        <else />
             <!--类null-state为空状态-->
            <div class="match-main-right-null">
                <div class="null-img"></div>
                <div class="null-info font16 colornine font_micro">暂时没有推荐赛事</div>
            </div>
        </notempty>
    </div>
</div>
</div>
</block>

<block name="component">
<script src="__ASSET__/Home/v4/dist/js/background.js"></script>
<script type="text/javascript">
    var  flashwidth = $(".match-smellcondes-flash").width();
    $(".match-smellcondes-flash").height(flashwidth*9/16+20);
    window._THIS = {
        bg_img : "{$match.pc_cover_player}",
    };
</script>
</block>